package com.stx.openeyes.utils;

/**
 * 网络请求地址工具类
 */
public class HttpAdress {
    private static final String HOST = "http://192.168.199.220:8090/api/";
    public static final String IMAGE_HOST = "http://img.kaiyanapp.com/";
    public static final String VIDEO_HOST = "http://baobab.kaiyanapp.com/api/";

    public static final String LOGIN = HOST.concat("user/login/");
    public static final String REGISTER = HOST.concat("user/register/");
    public static final String UPDATE_PASSWORD = HOST.concat("user/updatepassword/");
    public static final String USER_INFO = HOST.concat("user/");
    public static final String USER_VIDEO = HOST.concat("user/videos/%s/");
    public static final String EXITLOGIN = HOST.concat("user/exitlogin/");
    public static final String VIDEO_SEARCH = HOST.concat("videos/?keyword=%s");
    public static final String VIDEOS = HOST.concat("videos/%s/");
    public static final String VIDEO_DETAIL = HOST.concat("video/%s/");
    public static final String VIDEO_COLLECT = HOST.concat("video/collect/");
    public static final String VIDEO_HISTORY_DEL = HOST.concat("user/videos/");
    public static final String VIDEO_REMARK = HOST.concat("video/showremark/");

    //每日精选
//       public static final String DAILY="http://baobab.wandoujia.com/api/v2/feed?num=2&udid=26868b32e808498db32fd51fb422d00175e179df&vc=83";
    public static final String DAILY="http://baobab.kaiyanapp.com/api/v2/feed?num=2&udid=26868b32e808498db32fd51fb422d00175e179df&vc=83";
    //发现更多
//       public static final String FIND_MORE="http://baobab.wandoujia.com/api/v2/categories?udid=26868b32e808498db32fd51fb422d00175e179df&vc=83";
    public static final String FIND_MORE="http://baobab.kaiyanapp.com/api/v2/categories?udid=26868b32e808498db32fd51fb422d00175e179df&vc=83";
    //热门排行
//       public static final String HOT_STRATEGY="http://baobab.wandoujia.com/api/v3/ranklist?num=10&strategy=%s&udid=26868b32e808498db32fd51fb422d00175e179df&vc=83";
    public static final String HOT_STRATEGY="http://baobab.kaiyanapp.com/api/v3/ranklist?num=10&strategy=%s&udid=26868b32e808498db32fd51fb422d00175e179df&vc=83";
    //发现更多详情接口
//       public static final String FIND_DETAIL="http://baobab.wandoujia.com/api/v3/videos?categoryName=%s&strategy=%s&udid=26868b32e808498db32fd51fb422d00175e179df&vc=83";
    public static final String FIND_DETAIL="http://baobab.kaiyanapp.com/api/v3/videos?categoryName=%s&strategy=%s&udid=26868b32e808498db32fd51fb422d00175e179df&vc=83";

}
